<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="#" type="image/png">
    <title>Work Four - 文件预览</title>
    <link href="/public/css/index.css" rel="stylesheet">
    <link href="/public/adminEx/css/style-responsive.css" rel="stylesheet">
    <link href="/public/js/highlight/styles/default.css" rel="stylesheet">
    <style>
    /*pre{position:relative;margin-bottom:24px;border-radius:3px;border:1px solid #c3ccd0;background:#FFF;overflow:hidden}code{display:block;padding:12px 24px;overflow-y:auto;font-weight:300;font-family:Menlo,monospace;font-size:.8em}code.has-numbering{margin-left:21px}.pre-numbering{position:absolute;top:-6px;left:0;width:20px;padding:12px 2px 12px 0;border-right:1px solid #c3ccd0;border-radius:3px 0 0 3px;background-color:#EEE;text-align:right;font-family:Menlo,monospace;font-size:.8em;color:#AAA}*/
    </style>
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="/public/adminEx/js/html5shiv.js"></script>
    <script src="/public/adminEx/js/respond.min.js"></script>
    <![endif]-->
</head>

<body class="">
    <div style="text-align:center;font-size:16px;color:#A4C5B7;margin-top:10px">
        <%if(typeof fileName!='undefined'){%>
            <%=fileName%>
                <%}%>&nbsp;&nbsp;
                    <input type="button" class="btn" value="关闭" onclick="window.close();" />
    </div>
    <div style="width:100%">
        <div style="margin: 10px 20px 20px 20px;">
            <pre><code class=""><%if(typeof content!='undefined'){%><%=content%><%}%></code></pre>
        </div>
    </div>
    <!-- Placed js at the end of the document so the pages load faster -->
    <script src="/public/adminEx/js/jquery-1.10.2.min.js"></script>
    <script src="/public/js/highlight/highlight.pack.js"></script>
    <script>
    hljs.initHighlightingOnLoad();

    /*$(function() {
        $('pre code').each(function(){
        var lines = $(this).text().split('\n').length - 1;
        var $numbering = $('<ul/>').addClass('pre-numbering');
        $(this)
        .addClass('has-numbering')
        .parent()
        .append($numbering);
        for(i=1;i<=lines;i++){
        $numbering.append($('<li/>').text(i));
        }
        $('.pre-numbering li').css("height",$('pre code').height()/lines);//加上这行
        });
    });*/
    </script>
</body>

</html>
